package com.haojiang.mh.service.ble

/**
 * 所有设备消息类型
 *
 * Created by ZapFive on 2019-05-25.
 *
 * wuzhuang@mirahome.me
 */
enum class MsgType(val code: Byte, val describe: String) {

    SYNC_HEARTBEAT(0x01, "心跳数据包"),
    SYNC_TIME(0x05, "同步网络时间"),
    REAL_TIME_DATA(0x11, "实时数据传输"),
    SYNC_DEVICE_ATTR(0x12, "设备属性同步"),
    UPDATE_FIRMWARE(0x13, "设备升级状态"),
    DEVICE_OPERATE(0x14, "设备属性控制"),
    SET_WIFI_INFO(0x20, "网络设置"),
    OPERATE_REPLY(0xA5.toByte(), "收到确认回复"),
    NET_STATUS(0x15, "wifi连接状态"),

}